<?php
class Spagesimage extends AppModel{
    var $name='Spagesimage';
    
    var $belongsTo=array(
                    'User'=>array('className'=>'User',
                        'condition'=>'',
                        'order'=>'',
                        'dependent'=>true,
                        'foreignKey'=>'users_id'
                    )
    );
    var $belongsTo=array(
                    'Spage'=>array('className'=>'Spage',
                        'condition'=>'',
                        'order'=>'',
                        'dependent'=>true,
                        'foreignKey'=>'spages_id'
                    )
    );
} 
?>
